<?php

    //DB Variables
    $dbhost = "localhost";
    $dbuser = "root";
    $dbpass = "database";

    //trinity Connection (Datenbank Zugriff)
    $db_connection = mysql_connect($dbhost,$dbuser,$dbpass);
    $db_connect = mysql_select_db("wezett",$db_connection);

    //Check trinity Connection (Datenbank Zugriff Pruefen)
    if(!$db_connect){
            die("Keine Verbindung zur Datenbank");
    }

    //UTF - 8
    mysql_query("SET NAMES 'utf8'");
    mysql_query("SET CHARACTER SET 'utf8'");

?>
